package org.lcc.model.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class QuestionPreviewVocopy {
    private String questionId;      // 题目ID
    private String type;            // 题目类型
    private String subject;         // 科目
    private String difficulty;      // 难度
    private String content;         // 题目内容
    private String options;         // 选项
    private String answer;          // 答案
    private String analysis;        // 解析
    private String creatorId;       // 创建者ID
    private String questionName;    // 题目名称
    private Integer score;          // 题目分数
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;    // 创建时间
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;    // 更新时间
}
